import { createPinia } from 'pinia'
import { useUserStore } from './modules/user'
import { useSettingsStore } from './settings'
import { useAppStore } from './app'

// 创建Pinia实例
const pinia = createPinia()

// 导出Pinia实例和store
export default pinia
export {
  useUserStore,
  useSettingsStore,
  useAppStore
}